Skip to main content

All Questions

4votes
2answers
2kviews

Compare two CSV files In Ruby

I wrote my first program in Ruby that compares two CSV files, but I'm sure there are more efficient ways to do it. I tried using the Ruby CSV library at first, but it was unproductive. Please let me ...
nybyjojo's user avatar
4votes
3answers
85views

Getting the Twitter account from various input formats

I have an input for users to enter a Twitter account in any different way and I want to extract the user account. For example: ...
bcap's user avatar
  • 143
2votes
1answer
268views

Analyze Shakespeare's Macbeth parsing XML from web using Nokogiri

This is a simple Ruby program to analyze the number of lines characters speak in Shakespeare's Macbeth using Nokogiri and open-uri to parse a given url containing xml. I wrote this as practice getting ...
jsuth's user avatar
12votes
4answers
1kviews

Making kexec reboots less painful

kexec is a way for a Linux kernel to directly boot another Linux kernel without going through the usual BIOS startup sequence, which can take several minutes on enterprise servers. The big problem ...
Michael Hampton's user avatar
22votes
5answers
4kviews

Parse webpage and save fetched images to a directory

I had a task for a programmer position which I failed. I am a newbie programmer and I accept that. The only problem is that employer never told me what the actual problem with the code is. So maybe ...
paulus's user avatar

close